const path = require("path")
const { app } = require('electron');
module.exports = {
  staticUrl() {
    if (app.isPackaged) {
      return path.resolve(process.resourcesPath, '..', 'static')
    } else {
      return path.resolve(__dirname, '../../static')
    }
  }
}